<div id="adminPage">
<h2>User details</h2>
{if $success}
	<table border = "0">
		<tr><td>User Details</td></tr>
		<tr>
			<td>ID</td><td>{$user_id}</td>
		</tr>
		<tr>
			<td>First name:</td><td>{$user_firstname}</td>
		</tr>
		<tr>
			<td>Last name:</td><td>{$user_lastname}</td>
		</tr>
		<tr>
			<td>Email:</td><td>{$user_email}</td>
		</tr>
		<tr>
			<td>Role:</td><td>{$user_role}</td>
		</tr>
	</table>
{elseif $fail}
	{$fail}
	</br>
{/if}
<a href = "userresults.php?name={$name}&email={$email}&role={$role}&submit=Find">Go back</a>
</div>